home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Designer's Club 1997 January
/
Designer's Club 1997 January.iso
/
mac
/
Idea Source
/
Prem.DIR
/
00190_Script_190
< prev
next >
Wrap
Text File
|
1996-11-22
|
2KB
|
58 lines
on startmovie
global slider, toolH, toolV,
set the locH of sprite 40 to toolH
set the locV of sprite 40 to toolV
end
on stopmovie
global toolH, toolV
set toolH = the locH of sprite 40
set toolV = the locV of sprite 40
end
on pressit button
puppetsound (2) "clickdn"
repeat while the mousedown
set the visible of sprite button to false
updatestage
end repeat
set the visible of sprite button to true
puppetsound (2) "clickup"
end
on tools
repeat with n = 41 to 46
puppetsprite n, true
end repeat
repeat with n = 41 to 46
set the locV of sprite n to the locV of sprite 40 + 26
end repeat
set the locH of sprite 41 to the locH of sprite 40
set the locH of sprite 42 to the locH of sprite 40 - 86
set the locH of sprite 43 to the locH of sprite 40 - 48
set the locH of sprite 44 to the locH of sprite 40 - 3
set the locH of sprite 45 to the locH of sprite 40 + 41
set the locH of sprite 46 to the locH of sprite 40 + 82
updatestage
end tools
on keyDown
go the frame +1
if the key = 1 then set the soundLevel to (1)
if the key = 2 then set the soundLevel to (2)
if the key = 3 then set the soundLevel to (3)
if the key = 4 then set the soundLevel to (4)
if the key = 5 then set the soundLevel to (5)
if the key = 6 then set the soundLevel to (6)
if the key = 7 then set the soundLevel to (7)
if the key = "S" then
if the volume of sound 2 = 0 then
set the volume of sound 2 to the soundlevel * 36
else set the volume of sound 2 to 0
end if
end keydown